package com.csy.admin.web;

import com.csy.admin.util.Result;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * 类名:${file_name}
 * Created by CSY on 2018/9/10.
 */
@Controller
@RequestMapping("/sysUser")
public class UserController extends AbstractController{

    @RequestMapping(value = "/getUserInfo",method = RequestMethod.GET)
    @ResponseBody
    public Result getUserInfo(){
        return Result.ok().put("user",getUser());
    }
}
